package com.buer.service.dto;

import com.buer.dao.enums.ResponseCodeEnum;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * Created by buer on 2019/6/12.
 */
@Data
@NoArgsConstructor
public class BuerResult {
    private String responseCode;
    private String responseMsg;

    private Object result;

    public void setResposeInfo(ResponseCodeEnum resposeInfo){
        this.responseCode=resposeInfo.code;
        this.responseMsg=resposeInfo.msg;
    }
}

